﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace HRM.DAL.DAO
{
    public class Certificate
    {
        public int Id { get; set; }
        [Required(ErrorMessage = "Please write a Employee ID")]
        [DisplayName("Employee ID")]
        public int EmployeeId { get; set; }
        [Required(ErrorMessage = "Please write Examination name")]
        [DisplayName("Examination name")]
        public string Exam { get; set; }
        [Required(ErrorMessage = "Please Select Certificate from your local PC")]
        [DisplayName("Upload Certificate")]
        public string FilePath { get; set; }
    }
}